import Vue from 'vue'
import App from './App'
import store from './store'
import globalVariable from '@/common/global.js'
import apptools from '@/common/apptools.js'


import topSet from '@/components/top-set/top-set.vue';
import tabTop from '@/components/tabBar/tab-top.vue';


Vue.config.productionTip = false
Vue.prototype.GLOBAL = globalVariable //定义全局变量
Vue.prototype.$store = store  

Vue.use(apptools);//将全局函数当做插件来进行注册

Vue.component('topSet', topSet);
Vue.component('tabTop', tabTop);


App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
